#ifndef		__WINDOWEXPLORER__
#define		__WINDOWEXPLORER__

#include	<string>

#include	<ncurses.h>

#include	"AWindow.hpp"
#include	"ContentFile.hpp"
#include	"ScrollText.hpp"

class	WindowExplorer : public AWindow, AColor
{
public:
  WindowExplorer(unsigned int heigthWinCode, unsigned int widthWinCode);
  ~WindowExplorer();
  std::string	getLineOnCursor();
  virtual void	update(bool focus);
  virtual void	checkEvent(int event);
private:
  ContentFile	*_fileTree;
  ScrollText	*_scrollText;
};

#endif
